<?php

class ConnectController extends Controller {

  public $content;

  public function init() {

    if (user()->getUserProperty('username') == '')
      $this->redirect(FRONT_SITE_URL);
  }

  public function actionIndex() {
    
    $this->layout = 'main_after_login';
    $tab = array();
    $tab[0][0] = 'GetSentYesVotes';
    $tab[0][1] = 'GetReceivedYesVotes';
    $tab[0][2] = 'GetMutualYesVotes';
    $tab[1][0] = 'GetSentFavorites';
    $tab[1][1] = 'GetReceivedFavorites';
    $tab[1][2] = 'GetMutualFavorites';
    $tab[2][0] = 'GetSentViews';
    $tab[2][1] = 'GetReceivedViews';
    
    if(isset($_GET['tab'])){
      $filter = isset($_GET['filter'])?$_GET['filter']:0;
      $view = isset($tab[$_GET['tab']][$filter])?$tab[$_GET['tab']][$filter]:'';
      if($view!=''){                  
        $this->content['addCss'] = array('connect.css');
        Yii::app()->clientScript->registerScriptFile(WWW_URL . "js/js1/peoplemedia_002.js", CClientScript::POS_BEGIN);
        Yii::app()->clientScript->registerScriptFile(WWW_URL . "js/js1/Connect.js", CClientScript::POS_BEGIN);
        $currentPage = isset($_GET['currentPage'])?$_GET['currentPage']:1;
        $data = array();
        $data['noRecord'] = '';
        if($view == $tab[0][0]){
          $totalUserView = mUserVote::model()->findAll('user_id=:user_id', 
                                      array(':user_id'=>user()->getUserProperty('user_id')));
          $rsUserView = mUserVote::model()->getUserVoteWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          $data['filter'] = 0;
          if(count($totalUserView)<=0){
            $data['noRecord'] = $this->getMessageWithRecordNullInGetSentYeses();
          }
        }else if($view == $tab[0][1]){
          $totalUserView = mUserVote::model()->findAll('user_voted=:user_voted and mutual = 0', 
                                      array(':user_voted'=>user()->getUserProperty('user_id')));
          $rsUserView = mUserVote::model()->getUserVotedWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          $data['filter'] = 1;
          if(count($totalUserView)<=0){
            $data['noRecord'] = $this->getMessageWithRecordNullInGetSentYeses();
          }
        }else if($view == $tab[0][2]){
          $totalUserView = mUserVote::model()->findAll('user_voted=:user_voted and mutual=1', 
                                      array(':user_voted'=>user()->getUserProperty('user_id')));
          $rsUserView = mUserVote::model()->getUserVotedMutualWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          $data['filter'] = 2;
          if(count($totalUserView)<=0){
            $data['noRecord'] = $this->getMessageWithRecordNullInGetSentYeses();
          }
        }else if($view == $tab[1][0]){
          $totalUserView = mUserFavorite::model()->findAll('user_id=:user_id', 
                                      array(':user_id'=>user()->getUserProperty('user_id')));
          $rsUserView = mUserFavorite::model()->getUserFavoriteWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          $data['filter'] = 0;
          if(count($totalUserView)<=0){
            $data['noRecord'] = $this->getMessageWithRecordNullInGetSentFavorites();
          }
        }else if($view == $tab[1][1]){
          $totalUserView = mUserFavorite::model()->findAll('user_favorited=:user_favorited and mutual=0', 
                                    array(':user_favorited'=>user()->getUserProperty('user_id')));
          $rsUserView = mUserFavorite::model()->getUserFavoritedWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          $data['filter'] = 1;
          if(count($totalUserView)<=0){
            $data['noRecord'] = $this->getMessageWithRecordNullInGetSentFavorites();
          }
        }else if($view == $tab[1][2]){
          $totalUserView = mUserFavorite::model()->findAll('user_favorited=:user_favorited and mutual = 1', 
                                    array(':user_favorited'=>user()->getUserProperty('user_id')));
          $rsUserView = mUserFavorite::model()->getUserFavoritedMutualWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          $data['filter'] = 1;
          if(count($totalUserView)<=0){
            $data['noRecord'] = $this->getMessageWithRecordNullInGetSentFavorites();
          }
        }else if($view == $tab[2][0]){
          $totalUserView = mUserView::model()->findAll('user_id=:user_id', 
                                      array(':user_id'=>user()->getUserProperty('user_id')));
          $rsUserView = mUserView::model()->getUserViewWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          $data['filter'] = 0;
          if(count($totalUserView)<=0){
            $data['noRecord'] = $this->getMessageWithRecordNullInGetSentView();
          }
        }else if($view == $tab[2][1]){
          $totalUserView = mUserView::model()->findAll('user_id_viewed=:user_id_viewed', 
                                    array(':user_id_viewed'=>user()->getUserProperty('user_id')));
          $rsUserView = mUserView::model()->getUserViewedWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          $data['filter'] = 1;
          if(count($totalUserView)<=0){
            $data['noRecord'] = $this->getMessageWithRecordNullInGetSentView();
          }
        }
        
        
        $data['pagination'] = $this->pagesListLimit(count($totalUserView),10,2,1);

        $this->render($view,array(
                                'currentPage'=>$currentPage,
                                'totalUserView'=>$totalUserView,
                                'rsUserView'=>$rsUserView,
                                'data'=>$data
                      ));
      }else{
        $this->content['addCss'] = array('connect.css');
        $this->render('index');
      }
    }else{
      $this->content['addCss'] = array('connect.css');
      //Yii::app()->clientScript->registerScriptFile(WWW_URL . "js/js1/peoplemedia_002.js", CClientScript::POS_BEGIN);
      //Yii::app()->clientScript->registerScriptFile(WWW_URL . "js/js1/upgrade.js", CClientScript::POS_BEGIN);
      $this->render('index');
    }
  }
  
  function pagesListLimit($totalRows , $pageSize = 10, $offset = 2,$currentPage1=1){
    $result['html'] = '';
    $result['htmlBottom'] = '';
    $searchleft = ''; $searchright='';
	if ($totalRows<=0) return $result;
    $totalPages = ceil($totalRows/$pageSize);
    if ($totalPages <= 1)
      return $result;
    $currentURL = $_SERVER['PHP_SELF'];
    
    $currentPage = $currentPage1;
    $querystring = "";
    foreach ($_GET as $k => $v) {
      if ($k != 'pageNum')
        $querystring.= "&{$k}={$v}";
    }
    $querystring = substr($querystring, 1);

    $links='<div id="paginationsearchcenter">';
    $from = $currentPage - $offset;
    $to = $currentPage + $offset;
    if ($from <= 0) {
      $from = 1;
      $to = $offset * 2;
    }
    if ($to > $totalPages) {
      $to = $totalPages;
    }
    if($currentPage==1){ 
          $searchleft = '<div id="paginationsearchleft">
            <a href="javascript:void(0);" class="button_style buttonunavailable" title="Previous">
                Previous</a></div>';
          $links.='<a href="javascript:void(0);" >
                <img src="'.FRONT_SITE_URL.'www/images/images1/leftarrow.png" class="arrowunavailable" border="0" alt="" /></a>';
    }else if($currentPage>1){
          $searchleft = '<div id="paginationsearchleft">
            <a href="javascript:void(0);" onclick=" PeopleMedia.Connect.paginate('.($currentPage-1).', 10, '.$totalRows.');" class="button_style" title="Previous">
                Previous</a></div>';
          $links.='<a href="javascript:void(0);" onclick=" PeopleMedia.Connect.paginate('.($currentPage-1).', 10, '.$totalRows.');">
                <img src="'.FRONT_SITE_URL.'www/images/images1/leftarrow.png" class="" border="0" alt="" /></a>';
    }
    for ($j = $from; $j <= $to; $j++) {
      if ($j == $currentPage)
        $links = $links . '<span class="paginationon">'.($j).'</span>';
      else {        
        $links.='<a href="javascript:void(0);" onclick="PeopleMedia.Connect.paginate('.($j).', 10, '.$totalRows.');">'.$j.'</a>';
      }
    }
    if($totalPages==$currentPage){
          $searchright = '<div id="paginationsearchright">
            <a href="javascript:void(0);" class="button_style buttonunavailable" title="Next">
                Next</a>
            </div>';
          $links .= '<a href="javascript:void(0);">
                  <img src="'.FRONT_SITE_URL.'www/images/images1/rightarrow.png" class="arrowunavailable" border="0" alt="" /></a>';
    }else{
          $searchright = '<div id="paginationsearchright">
            <a href="javascript:void(0);" onclick=" PeopleMedia.Connect.paginate('.($currentPage+1).', 10, '.$totalRows.');" class="button_style" title="Next">
                Next</a>
    </div>';
          $links .= '<a href="javascript:void(0);" onclick=" PeopleMedia.Connect.paginate('.($currentPage+1).', 10, '.$totalRows.');">
                  <img src="'.FRONT_SITE_URL.'www/images/images1/rightarrow.png" border="0" alt="" /></a>';
    }
    $links .='</div>';
    $result['html'] = $links;
    $result['htmlBottom'] = $searchleft.$links.$searchright;
    return $result;
  }
  
  public function getSelectAll($tab,$tabEnum,$filter){
    $selectall='<div class="inboxcontenttoprow2">
          <div class="inboxcontenttoprow2col1">
            <input name="" id="selectAllCheckBox'.$tab.'" value="" onclick="PeopleMedia.Connect.selectAllDeleteCheckBoxes(\''.$tab.'\')" type="checkbox">
            <p><a href="#" onclick="PeopleMedia.Connect.clickSelectArea(\''.$tab.'\')">Select All</a></p>
          </div>
          <div class="inboxcontenttoprow2col2"> <a title="Delete" class="button_style_send" href="#" onclick="PeopleMedia.Connect.deleteSelectedMembers(\''.$tab.'\', '.$tabEnum.', '.$filter.', 1);">Delete</a> </div>
        </div>';
    return $selectall;
  }
  public function getHtmlMemberList($rsUserView,$totalUserView,$currentPage,$tab,$tabEnum,$filter,$connect){
    $watched = 'Viewed';
    $img_watched = 'eyeicon.png';
    $for_delete = 'View';
    if($tab == 'Favorites'){
      $watched = 'Favorited';
      $img_watched = 'staricon.png';
      $for_delete = 'Favorite';
    }else if($tab == 'Yeses'){
      $watched = 'Yesed';
      $img_watched = 'checkicon.png';
      $for_delete = 'Yes';
    }
    $html = '<div id="connect'.$tab.'MemberList">';
    $count = 0;
    
    foreach($rsUserView as $item):
      $link_img = FRONT_SITE_URL . 'www/images/images1/noPhoto-1.gif';
      if ($item['link_img'] != null) 
        $link_img = FRONT_SITE_URL. 'www/uploads/photos/thumbs/thumb_'. $item['link_img']; 
      else {
        $link_img = $item['gender'] == 'male' ? FRONT_SITE_URL . 'www/images/images1/noPhoto-1.gif' : FRONT_SITE_URL . 'www/images/images1/noPhoto-2.gif';
      }
      $user_favorite = $item['user_favorited']!=null?'display:none':'display:inline';
      $user_un_favorite = $item['user_favorited']==null?'display:none':'display:inline';
      $html.='<div id="connectItem'.$count.$tab.'" class="profilerepeat ">
            <div class="profilerepeatcol0">
              <input type="checkbox" onchange="PeopleMedia.Connect.selectSingleDeleteCheckBox(\''.$tab.'\', '.$count.')" value="" class="deleteCheckbox'.$tab.'" id="checkboxDelete'.$count.$tab.'" name="'.$item['user_id'].'">
            </div>
            <div class="profilerepeatcol1 ">

              <div id="profileoverlayplace">
              </div>
              <a title="bighuggs1" href="'. FRONT_SITE_URL.'user/profile/viewprofile?profile='.$item['user_id'].'">
                                <img border="0" class="userpic" title="tuong" src="'.$link_img.'">
              </a>
            </div>
            <div class="profilerepeatcol2">
              <div class="profilerepeatcol2row1">
                <p><a href="'. FRONT_SITE_URL.'user/profile/viewprofile?profile='.$item['user_id'].'">'.$item['username'].'</a></p>
                <img src="'.FRONT_SITE_URL.'www/images/images1/'.$img_watched.'" title="Viewed">
                <p class="lightgraytext timestampcl">'.$watched.': '.changedDateFormat($item['date_view'],'d-m-Y').'</p>
              </div>


              <div class="profilerepeatcol2row2">

                <p>'.calculateYearOld($item['birthdate']).' | '.$item['country_name'].'                                              </p>
              </div>

              <div class="profilerepeatcol2row3">
                <p><span class="lightgraytext">A little about me: </span>
                  '.$item['greeting1'].'
                  </p>
              </div>

              <div class="profilerepeatcol2row4">
                
                <a style="'.$user_favorite.'" onclick="PeopleMedia.Connect.toggleFavorite(true, '.$item['user_id'].', '.$count.', \''.$tab.'\', \''.$connect.'\')" title="Save as Favorite" class="SaveToFavorites'.$count.$tab.'" href="javascript:void(0);">
                  <img border="0" src="'.FRONT_SITE_URL.'www/images/images1/favoriteicon.png" title="Save as Favorite"> 
                </a>
                <a style="'.$user_un_favorite.'" title="Saved as Favorite" onclick="PeopleMedia.Connect.toggleFavorite(false, '.$item['user_id'].', '.$count.', \''.$tab.'\', \''.$connect.'\')" class="RemoveFromFavorites'.$count.$tab.'" href="javascript:void(0);">
                  <img border="0" src="'.FRONT_SITE_URL.'www/images/images1/favoritedicon.png" title="Saved as Favorite">   
                </a>
                
                <a href="'.FRONT_SITE_URL.'/user/profile/viewprofile?profile='.$item['user_id'].'"> <img border="0" src="'.FRONT_SITE_URL.'www/images/images1/messageicon.png" title="Send a Message"> </a> 
              </div>

            </div>

            <div class="profilerepeatcol3">
              <textarea rows="" cols="" class="connectWriteMessageTextArea" id="connectInlineMessage'.$count.$tab.'" maxlength="3000">Write a quick message...</textarea>

              <a title="Send" class="button_style_send" onclick="PeopleMedia.Connect.sendMessage(\''.$item['user_id'].'\', '.$count.', \''.$tab.'\', \''.$item['username'].'\', '.$tabEnum.', '.$filter.', 1, \''.$connect.'\', 25, \'None\');" id="SendMessageButtonLink" href="javascript:void(0);">Send</a> </div>
            <div class="profilerepeatcol4"> <a title="Delete '.$for_delete.'" onclick="PeopleMedia.Connect.removeItem('.$count.', \''.$tab.'\', \''.$connect.'\')" href="javascript:void(0);"><img border="0" class="hide1" src="'.FRONT_SITE_URL.'www/images/images1/hidebutton.png"></a> </div>
            <p class="clearfix">&nbsp;</p>
            <div style="display:none;" id="popupshowdelete'.$count.$tab.'" class="popupshowblock">
              <div class="overlayplace">
                <div class="popupshapestyle deleteactionoverlay">
                  <div class="largestclosebtn"> <a class="closebtn" onclick="PeopleMedia.Connect.hideRemoveItemPopup('.$count.', \''.$tab.'\')" title="Close" href="javascript:void(0);" id="PopupBlockCloseButton"><img border="0" src="'.FRONT_SITE_URL.'www/images/images1/largestclosebtn.png"></a> </div>
                  <div class="blockcontent">
                    <h1>Are you sure you want to delete <span id="PopupBlockUsernameSpan">this View</span>?</h1>
                    <div class="sharecontentbuttonarea">
                      <p class="blocklinksbtn">
                        <a onclick="PeopleMedia.Connect.deleteConnectItem('.$item['user_id'].', '.$count.', \''.$tab.'\', '.$tabEnum.', '.$filter.', 1)" href="javascript:void(0);">Delete</a>
                        <a class="button_style" onclick="PeopleMedia.Connect.hideRemoveItemPopup('.$count.', \''.$tab.'\')" href="javascript:void(0);">No</a>
                      </p>
                    </div>
                  </div>
                </div>
              </div>
              <div class="overlaywholescreen"></div>
            </div>

          </div>';
      $count++;
    endforeach;
    $html .= '</div>';
    return $html;
  }
  
  public function getMessageWithRecordNullInGetSentView(){
    $html = '<div id="ViewsListContent" class="yescontentmiddlerow" style="display: block;">
              <div id="connectViewsMemberList">
              </div>
                                <div class="nomessagesarea">
                                <h1>You have not viewed any profiles yet.</h1>
                                <p><strong>Quick Tip:</strong> Wow! You haven’t checked anyone out yet. Now is the time. Get started with a local search.</p>
                                <p class="nomessagesareaa"><a title="Search Now" class="button_style" href="'.app()->createAbsoluteUrl('search#Sortby=MyDefault').'">Search Now</a></p>
                                </div>

                            <div style="display:none" id="LoadingResultsDiv" class="resultsloadingoverlay">
                                <div class="resultsloading bgcolor-main">
                                    <h1>
                                        Sending your message...</h1>
                                    <div class="loadinggraphic">
                                        <img alt="" src="'.FRONT_SITE_URL.'www/images/images1/waitwheel.gif">
                                    </div>
                                    <p class="clearfix">
                                        &nbsp;</p>
                                </div>
                            </div></div>';
    return $html;
  }
  public function getMessageWithRecordNullInGetReceivedViews(){
    $html = '<div id="ViewsListContent" class="yescontentmiddlerow">
                    <div id="connectViewsMemberList">
                    </div>
          
                                <div class="nomessagesarea">
                                <h1>Your profile has not been Viewed yet.</h1>
                                <p><strong>Quick Tip:</strong> Make a recent photo of you smiling back at the camera your primary picture. People simply can’t resist a happy, smiling face.</p>
                                <p class="nomessagesareaa"><a title="Post More Photos" class="button_style" href="'.app()->createAbsoluteUrl('user/profile/MediaUpload').'">Upload Photos Now</a></p>
                                </div>

                        <div style="display:none" id="LoadingResultsDiv" class="resultsloadingoverlay">
                            <div class="resultsloading bgcolor-main">
                                <h1>
                                    Sending your message...</h1>
                                <div class="loadinggraphic">
                                    <img alt="" src="'.app()->createAbsoluteUrl('www/images/images1/waitwheel.gif').'">
                                </div>
                                <p class="clearfix">
                                    &nbsp;</p>
                            </div>
                        </div></div>';
    return $html;
  }
  
  public function getMessageWithRecordNullInGetSentFavorites(){
    $html = '<div id="FavoritesListContent" class="yescontentmiddlerow">
            <div id="connectFavoritesMemberList">
              </div>
                
                                <div class="nomessagesarea">
                                <h1>You have not saved anyone as a Favorite yet.</h1>
                                    <p><strong>Quick Tip:</strong> Simply click the star <img border="0" src="'.app()->createAbsoluteUrl('www/images/images1/favoriteicon.png').'"> on a member’s profile when you see someone you’re interested in. They will be saved here so you can send them a message.</p>
                                <p class="nomessagesareaa"><a title="Search Now" class="button_style" href="'.app()->createAbsoluteUrl('search').'">Search Now</a></p>
                                </div>

                  <div style="display:none" id="LoadingResultsDiv" class="resultsloadingoverlay">
                      <div class="resultsloading bgcolor-main">
                          <h1>
                              Sending your message...</h1>
                          <div class="loadinggraphic">
                              <img alt="" src="'.app()->createAbsoluteUrl('www/images/images1/waitwheel.gif').'">
                          </div>
                          <p class="clearfix">
                              &nbsp;</p>
                      </div>
                  </div></div>';
    return $html;
  }
  
  public function getMessageWithRecordNullInGetSentYeses(){
    $html = '<div id="YesesListContent" class="yescontentmiddlerow">

              <div id="connectYesesMemberList">
              </div>
                            
                                 <div class="nomessagesarea">
                                <h1>You haven’t said Yes to any of your Today’s Matches yet.</h1>
                                <p><strong>Quick Tip:</strong> Each day, Today’s Matches gives you 3 great matches to review. Anyone you say Yes to will be saved here for quick reference.</p>
                                <p class="nomessagesareaa"><a title="View Today’s Matches" class="button_style" href="#">View Today’s Matches</a></p>
                                </div>
                            

          <div style="display:none" id="LoadingResultsDiv" class="resultsloadingoverlay">
              <div class="resultsloading bgcolor-main">
                  <h1>
                      Sending your message...</h1>
                  <div class="loadinggraphic">
                      <img alt="" src="'.app()->createAbsoluteUrl('www/images/images1/waitwheel.gif').'">
                  </div>
                  <p class="clearfix">
                      &nbsp;</p>
              </div>
          </div>



             </div>';
    return $html;
  }
  
  public function actionGetSentViews(){
    $result['status'] = 'Error';
    if(isset($_GET['currentPage'])){
      $result['status'] = 'Success';
      $result['html'] = '';
      $result['totalRecords'] = 0;
      //array(3) { ["status"]=> string(7) "Success" ["html"]=> string(67594) " " ["totalRecords"]=> int(106) }  
      $currentPage = $_GET['currentPage'];
      $totalUserView = mUserView::model()->findAll('user_id=:user_id', 
                                    array(':user_id'=>user()->getUserProperty('user_id')));
      $rsUserView = mUserView::model()->getUserViewWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
      
      if(count($totalUserView)>0){
        $result['html'] = $this->getSelectAll('Views',2,0);
        $filter = 0;
        $result['html'] .= $this->getHtmlMemberList($rsUserView,$totalUserView,$totalUserView,'Views',2,$filter,'connectviews');
        $result['totalRecords'] = count($totalUserView);
      }else{
        $result['html'] = $this->getMessageWithRecordNullInGetSentView();
      } 
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionGetReceivedViews(){
    $result['status'] = 'Error';
    if(isset($_GET['currentPage'])){
      $result['status'] = 'Success';
      $result['html'] = '';
      $result['totalRecords'] = 0;
      //array(3) { ["status"]=> string(7) "Success" ["html"]=> string(67594) " " ["totalRecords"]=> int(106) }  
      $currentPage = $_GET['currentPage'];
      $totalUserView = mUserView::model()->findAll('user_id_viewed=:user_id_viewed', 
                                    array(':user_id_viewed'=>user()->getUserProperty('user_id')));
      $rsUserView = mUserView::model()->getUserViewedWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
      
      if(count($totalUserView)>0){
        $result['html'] = $this->getSelectAll('Views',2,1);
        $filter = 1;
        $result['html'] .= $this->getHtmlMemberList($rsUserView,$totalUserView,$totalUserView,'Views',2,$filter,'connectviews');
        $result['totalRecords'] = count($totalUserView);
      }else{
        $result['html'] = $this->getMessageWithRecordNullInGetReceivedViews();
      } 
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionGetSentFavorites(){
    $result['status'] = 'Error';
    if(isset($_GET['currentPage'])){
      $result['status'] = 'Success';
      $result['html'] = '';
      $result['totalRecords'] = 0;
      //array(3) { ["status"]=> string(7) "Success" ["html"]=> string(67594) " " ["totalRecords"]=> int(106) }  
      $currentPage = $_GET['currentPage'];
      $totalUserView = mUserFavorite::model()->findAll('user_id=:user_id', 
                                    array(':user_id'=>user()->getUserProperty('user_id')));
      $rsUserView = mUserFavorite::model()->getUserFavoriteWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
      
      if(count($totalUserView)>0){
        $result['html'] = $this->getSelectAll('Favorites',1,0);
        $filter = 0;
        $result['html'] .= $this->getHtmlMemberList($rsUserView,$totalUserView,$totalUserView,'Favorites',1,$filter,'connectfavs');
        $result['totalRecords'] = count($totalUserView);
      }else{
        $result['html'] = $this->getMessageWithRecordNullInGetSentFavorites();
      } 
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionGetReceivedFavorites(){
    $result['status'] = 'Error';
    if(isset($_GET['currentPage'])){
      $result['status'] = 'Success';
      $result['html'] = '';
      $result['totalRecords'] = 0;
      //array(3) { ["status"]=> string(7) "Success" ["html"]=> string(67594) " " ["totalRecords"]=> int(106) }  
      $currentPage = $_GET['currentPage'];
      $totalUserView = mUserFavorite::model()->findAll('user_favorited=:user_favorited and mutual = 0', 
                                    array(':user_favorited'=>user()->getUserProperty('user_id')));
      $rsUserView = mUserFavorite::model()->getUserFavoritedWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
      
      if(count($totalUserView)>0){
        $result['html'] = $this->getSelectAll('Favorites',1,1);
        $filter = 1;
        $result['html'] .= $this->getHtmlMemberList($rsUserView,$totalUserView,$totalUserView,'Favorites',1,$filter,'connectfavs');
        $result['totalRecords'] = count($totalUserView);
      }else{
        $result['html'] = $this->getMessageWithRecordNullInGetSentFavorites();
      } 
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionGetMutualFavorites(){
    $result['status'] = 'Error';
    if(isset($_GET['currentPage'])){
      $result['status'] = 'Success';
      $result['html'] = '';
      $result['totalRecords'] = 0;
      //array(3) { ["status"]=> string(7) "Success" ["html"]=> string(67594) " " ["totalRecords"]=> int(106) }  
      $currentPage = $_GET['currentPage'];
      $totalUserView = mUserFavorite::model()->findAll('user_favorited=:user_favorited and mutual = 1', 
                                    array(':user_favorited'=>user()->getUserProperty('user_id')));
      $rsUserView = mUserFavorite::model()->getUserFavoritedMutualWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
      
      if(count($totalUserView)>0){
        $result['html'] = $this->getSelectAll('Favorites',1,2);
        $filter = 2;
        $result['html'] .= $this->getHtmlMemberList($rsUserView,$totalUserView,$totalUserView,'Favorites',1,$filter,'connectfavs');
        $result['totalRecords'] = count($totalUserView);
      }else{
        $result['html'] = $this->getMessageWithRecordNullInGetSentFavorites();
      } 
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionGetSentYesVotes(){
    $result['status'] = 'Error';
    if(isset($_GET['currentPage'])){
      $result['status'] = 'Success';
      $result['html'] = '';
      $result['totalRecords'] = 0;
      //array(3) { ["status"]=> string(7) "Success" ["html"]=> string(67594) " " ["totalRecords"]=> int(106) }  
      $currentPage = $_GET['currentPage'];
      $totalUserView = mUserVote::model()->findAll('user_id=:user_id', 
                                      array(':user_id'=>user()->getUserProperty('user_id')));
      $rsUserView = mUserVote::model()->getUserVoteWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
 
      if(count($totalUserView)>0){
        $result['html'] = $this->getSelectAll('Yeses',0,0);
        $filter = 0;
        $result['html'] .= $this->getHtmlMemberList($rsUserView,$totalUserView,$totalUserView,'Yeses',0,$filter,'connectfavs');
        
        $result['totalRecords'] = count($totalUserView);
      }else{
        $result['html'] = $this->getMessageWithRecordNullInGetSentYeses();
      } 
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionGetReceivedYesVotes(){
    $result['status'] = 'Error';
    if(isset($_GET['currentPage'])){
      $result['status'] = 'Success';
      $result['html'] = '';
      $result['totalRecords'] = 0;
      //array(3) { ["status"]=> string(7) "Success" ["html"]=> string(67594) " " ["totalRecords"]=> int(106) }  
      $currentPage = $_GET['currentPage'];
      $totalUserView = mUserVote::model()->findAll('user_voted=:user_voted and mutual = 0', 
                                      array(':user_voted'=>user()->getUserProperty('user_id')));
      $rsUserView = mUserVote::model()->getUserVotedWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          
      if(count($totalUserView)>0){
        $result['html'] = $this->getSelectAll('Yeses',0,1);
        $filter = 1;
        $result['html'] .= $this->getHtmlMemberList($rsUserView,$totalUserView,$totalUserView,'Yeses',0,$filter,'connectfavs');
        
        $result['totalRecords'] = count($totalUserView);
      }else{
        $result['html'] = $this->getMessageWithRecordNullInGetSentYeses();
      } 
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionGetMutualYesVotes(){
    $result['status'] = 'Error';
    if(isset($_GET['currentPage'])){
      $result['status'] = 'Success';
      $result['html'] = '';
      $result['totalRecords'] = 0;
      //array(3) { ["status"]=> string(7) "Success" ["html"]=> string(67594) " " ["totalRecords"]=> int(106) }  
      $currentPage = $_GET['currentPage'];
      $totalUserView = mUserVote::model()->findAll('user_voted=:user_voted and mutual=1', 
                                      array(':user_voted'=>user()->getUserProperty('user_id')));  
      $rsUserView = mUserVote::model()->getUserVotedMutualWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
          
      if(count($totalUserView)>0){
        $result['html'] = $this->getSelectAll('Yeses',0,2);
        $filter = 2;
        $result['html'] .= $this->getHtmlMemberList($rsUserView,$totalUserView,$totalUserView,'Yeses',0,$filter,'connectfavs');
        
        $result['totalRecords'] = count($totalUserView);
      }else{
        $result['html'] = $this->getMessageWithRecordNullInGetSentYeses();
      } 
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionRefreshPagination(){//page   totalRecords
    $result = array();
    $result['html'] = '';
    $result['htmlBottom'] = '';
    $result['status'] = 'Success';
    $searchleft = ''; $searchright='';
    $totalRows = isset($_GET['totalRecords'])?$_GET['totalRecords']:0;
    
    $pageSize = 10;
    $offset = 2;
	if ($totalRows<=0){
      echo CJSON::encode($result);
      Yii::app()->end();
    }
    $totalPages = ceil($totalRows/$pageSize);
    if ($totalPages <= 1){
      echo CJSON::encode($result);
      Yii::app()->end();
    }
    
    $currentPage = isset($_GET['page'])?$_GET['page']:1;
    $querystring = "";
    foreach ($_GET as $k => $v) {
      if ($k != 'pageNum')
        $querystring.= "&{$k}={$v}";
    }
    $querystring = substr($querystring, 1);

    $links='<div id="paginationsearchcenter">';
    $from = $currentPage - $offset;
    $to = $currentPage + $offset;
    if ($from <= 0) {
      $from = 1;
      $to = $offset * 2;
    }
    if ($to > $totalPages) {
      $to = $totalPages;
    }
    if($currentPage==1){ 
          $searchleft = '<div id="paginationsearchleft">
            <a href="javascript:void(0);" class="button_style buttonunavailable" title="Previous">
                Previous</a></div>';
          $links.='<a href="javascript:void(0);" >
                <img src="'.FRONT_SITE_URL.'www/images/images1/leftarrow.png" class="arrowunavailable" border="0" alt="" /></a>';
    }else if($currentPage>1){
          $searchleft = '<div id="paginationsearchleft">
            <a href="javascript:void(0);" onclick=" PeopleMedia.Connect.paginate('.($currentPage-1).', 10, '.$totalRows.');" class="button_style" title="Previous">
                Previous</a></div>';
          $links.='<a href="javascript:void(0);" onclick=" PeopleMedia.Connect.paginate('.($currentPage-1).', 10, '.$totalRows.');">
                <img src="'.FRONT_SITE_URL.'www/images/images1/leftarrow.png" class="" border="0" alt="" /></a>';
    }
    for ($j = $from; $j <= $to; $j++) {
      if ($j == $currentPage)
        $links = $links . '<span class="paginationon">'.($j).'</span>';
      else {        
        $links.='<a href="javascript:void(0);" onclick="PeopleMedia.Connect.paginate('.($j).', 10, '.$totalRows.');">'.$j.'</a>';
      }
    }
    if($totalPages==$currentPage){
          $searchright = '<div id="paginationsearchright">
            <a href="javascript:void(0);" class="button_style buttonunavailable" title="Next">
                Next</a>
            </div>';
          $links .= '<a href="javascript:void(0);">
                  <img src="'.FRONT_SITE_URL.'www/images/images1/rightarrow.png" class="arrowunavailable" border="0" alt="" /></a>';
    }else{
          $searchright = '<div id="paginationsearchright">
            <a href="javascript:void(0);" onclick=" PeopleMedia.Connect.paginate('.($currentPage+1).', 10, '.$totalRows.');" class="button_style" title="Next">
                Next</a>
    </div>';
          $links .= '<a href="javascript:void(0);" onclick=" PeopleMedia.Connect.paginate('.($currentPage+1).', 10, '.$totalRows.');">
                  <img src="'.FRONT_SITE_URL.'www/images/images1/rightarrow.png" border="0" alt="" /></a>';
    }
    $links .='</div>';
    $result['html'] = $links;
    $result['htmlBottom'] = $searchleft.$links.$searchright;
    
    echo CJSON::encode($result);
    Yii::app()->end();
  }
  
  public function actionRefreshSubHeaderCounts(){
    $strJson = '{"status":"Success","html":"\r\n\r\n            \u003cp class=\"\"\u003e\u003ca href=\"/v3/messages/?start=1\u0026amp;Folder=Inbox\u0026amp;sortcol=message\u0026amp;sortdir=DESC\u0026amp;upn=4\"\u003e\u003cspan class=\"headercountstotalvalue\"\u003eMessages\u003c/span\u003e\u003c/a\u003e\r\n            \u003c/p\u003e\r\n            \u003cp class=\"\"\u003e\u003ca href=\"/v3/connect/connectlist?tab=2\u0026amp;filter=1\"\u003e\u003cspan class=\"headercountstotalvalue\"\u003eViewed Me\u003c/span\u003e\u003c/a\u003e\r\n            \u003c/p\u003e\r\n            \u003cp class=\"\"\u003e\u003ca href=\"/v3/connect/connectlist?tab=1\u0026amp;filter=1\u0026amp;upn=5\"\u003e\u003cspan class=\"headercountstotalvalue\"\u003eFavorited Me\u003c/span\u003e\u003c/a\u003e\r\n            \u003c/p\u003e\r\n            \u003cp class=\"\"\u003e\u003ca href=\"/v3/messages/?start=1\u0026amp;Folder=Inbox\u0026amp;sortcol=flirt\u0026amp;sortdir=DESC\u0026amp;upn=6\"\u003e\u003cspan class=\"headercountstotalvalue\"\u003eFlirted With Me\u003c/span\u003e\u003c/a\u003e\r\n            \u003c/p\u003e\r\n            \u003cp class=\"\"\u003e\u003ca href=\"/v3/messages/?start=1\u0026amp;Folder=Inbox\u0026amp;sortcol=like\u0026amp;sortdir=DESC\u0026amp;upn=67\"\u003e\u003cspan class=\"headercountstotalvalue\"\u003eComment:\u0026nbsp;1\u0026nbsp;\u003c/span\u003e\u003c/a\u003e\r\n                \u003ca class=\"headercountsnewlink\" href=\"/v3/messages/?start=1\u0026amp;Folder=Inbox\u0026amp;sortcol=like\u0026amp;sortdir=DESC\u0026amp;upn=67\"\u003e(\u003cspan class=\"headercountsnewvalue\" \u003e1\u0026nbsp;New\u003c/span\u003e)\u003c/a\u003e\r\n            \u003c/p\u003e\r\n            \u003cp class=\"pnoborder\"\u003e\u003ca href=\"/v3/profile/todaysmatches\"\u003e\u003cspan class=\"headercountstotalvalue\"\u003eToday\u0026#39;s Matches\u003c/span\u003e\u003c/a\u003e\r\n                \u003ca class=\"headercountsnewlink\" href=\"/v3/profile/todaysmatches\"\u003e(\u003cspan class=\"headercountsnewvalue\" \u003e5\u0026nbsp;New\u003c/span\u003e)\u003c/a\u003e\r\n            \u003c/p\u003e\r\n","display":true}';
    echo $strJson;
    Yii::app()->end();
  }
  
  public function actionRefreshPageCounts(){
    $strJson = '{"status":"Success","incomingnew":0,"mutualnew":0,"totalnew":0,"connectTotal":0,"yesvotes":-1,"favorites":-1,"views":0}';
    echo $strJson;
    Yii::app()->end();
  }
  
  public function actionConverJsonToArray(){
    //status:Success; "html"; "html_bottom"
    $strJson = '{"status":"Success","html":"\r\n       \r\n       \u003cscript\u003e\r\n         $jq(document).ready(PeopleMedia.Connect.initViews(\u0027Sent\u0027));\r\n    \u003c/script\u003e    \r\n    \u003cdiv class=\"yescontent\"\u003e\r\n        \u003cdiv class=\"yescontenttoprow\"\u003e\r\n          \u003cp class=\"results\"\u003e\u003cspan id=\"viewCount\"\u003e122 Results\u003c/span\u003e\u003c/p\u003e\r\n             \u003cdiv id=\"paginationalone\" class=\"color-main\"\u003e\r\n                \u003cdiv id=\"paginationViewsTop\"\u003e\r\n                        \u003cdiv id=\"paginationsearchcenter\"\u003e\r\n            \u003ca href=\"javascript:void(0);\" \u003e\r\n                \u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/external/leftarrow.png\"  class=\"arrowunavailable\" border=\"0\" alt=\"\" /\u003e\u003c/a\u003e\r\n    \u003cspan class=\"paginationon\"\u003e1\u003c/span\u003e\r\n    \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.paginate(2, 10, 122);\"\u003e2\u003c/a\u003e\r\n    ...\r\n    \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.paginate(13, 10, 122);\"\u003e13\u003c/a\u003e\r\n            \u003ca href=\"javascript:void(0);\"  onclick=\" PeopleMedia.Connect.paginate(2, 10, 122);\"\u003e\r\n                \u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/external/rightarrow.png\" border=\"0\" alt=\"\" /\u003e\u003c/a\u003e\r\n    \u003c/div\u003e\r\n\r\n\r\n\r\n\r\n\r\n                \u003c/div\u003e\r\n            \u003c/div\u003e\r\n          \u003cdiv class=\"toprowfloatright\"\u003e\r\n            \u003cdiv class=\"listpagelinksarea\"\u003e\r\n                \u003cdiv id=\"listViewsSent\" onclick=\"PeopleMedia.Connect.goToViewsSent();\" class=\"listpagelinksarea3 listpagelinksarea3on\"\u003e\r\n                    \u003cp\u003e\u003ca href=\"javascript:;\"\u003eI Viewed\u003c/a\u003e\u003c/p\u003e\r\n                \u003c/div\u003e\r\n                    \r\n                \u003cdiv class=\"tooltipwrapper\"\u003e\r\n                    \u003cdiv id=\"viewedme\" class=\"tooltip\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"tooltipclose\" onclick=\"PeopleMedia.Connect.hideViewPopUp();\"\u003e\r\n                            \u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/popup/mediumclosebtn.png\"\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"box shadow border-color-main\"\u003e\r\n                            \u003cdiv class=\"tooltipleft color-icon\"\u003e0\u003c/div\u003e\r\n                            \u003cdiv class=\"tooltipright\"\u003emembers viewed your\u003cbr /\u003eprofile. \u003cspan class=\"color-main\" onclick=\"PeopleMedia.Connect.goToViewsReceived();\"\u003eFind out who!\u003c/span\u003e\u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"arrowarea\"\u003e\r\n                            \u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/popup/arrowdown_small.png\"\u003e\r\n                        \u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                \u003c/div\u003e\r\n                \r\n              \u003cdiv id=\"listViewsReceived\" onclick=\"PeopleMedia.Connect.goToViewsReceived();\" class=\"listpagelinksarea1 \"\u003e\r\n                \u003cp\u003e\u003ca href=\"javascript:;\"\u003eViewed Me\u003c/a\u003e\u003c/p\u003e\r\n               \r\n                    \u003cp id=\"starburstViewsReceivedCount\" class=\"starlink\" style=\"display:none\" \u003e\u003ca href=\"#\" id=\"listViewsReceivedCount\"\u003e0\u003c/a\u003e\u003cspan\u003e\u003c/span\u003e\u003c/p\u003e\r\n\r\n              \u003c/div\u003e\r\n            \u003c/div\u003e\r\n          \u003c/div\u003e\r\n        \u003c/div\u003e\r\n        \u003cdiv class=\"yescontentmiddlerow\" id=\"ViewsListContent\"\u003e\r\n           \r\n      \u003cdiv class=\"inboxcontenttoprow2\"\u003e\r\n          \u003cdiv class=\"inboxcontenttoprow2col1\" \u003e\r\n              \u003cinput name=\"\" id=\"selectAllCheckBoxViews\" type=\"checkbox\" value=\"\" onclick=\"PeopleMedia.Connect.selectAllDeleteCheckBoxes(\u0027Views\u0027)\"\u003e\r\n              \u003cp\u003e\u003ca href=\"#\" onclick=\"PeopleMedia.Connect.clickSelectArea(\u0027Views\u0027)\"\u003eSelect All\u003c/a\u003e\u003c/p\u003e\r\n          \u003c/div\u003e\r\n          \u003cdiv class=\"inboxcontenttoprow2col2\"\u003e \u003ca title=\"Delete\" class=\"button_style_send\" href=\"#\" onclick=\"PeopleMedia.Connect.deleteSelectedMembers(\u0027Views\u0027, 2, 0, 1);\"\u003eDelete\u003c/a\u003e \u003c/div\u003e\r\n      \u003c/div\u003e\r\n\u003cdiv id=\"connectViewsMemberList\"\u003e\r\n                 \u003cdiv class=\"profilerepeat \" id=\"connectItem0Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"A78DEAF0B81DDADD\" id=\"checkboxDelete0Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 0) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                            \u003cdiv id=\"profileoverlay\" style=\"\"\u003e\r\n                             \r\n                                \u003cp\u003e\u003ca href=\"/v3/profile?profile=A78DEAF0B81DDADD\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e5 more photos\u003c/a\u003e\u003c/p\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=A78DEAF0B81DDADD\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"naidiva\"\u003e\u003cimg src=\"http://pmi2.peoplemedia.com/21/532/4619532/4699228s.jpg\" title=\"naidiva\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=A78DEAF0B81DDADD\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003enaidiva\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e33 | Marietta, GA\r\n                                    |\u0026nbsp;Last Activity: Today                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                                \u003cp\u003e\u003cspan class=\"lightgraytext\"\u003eA little about me: \u003c/span\u003eMy passions in life is God, music, family, helping people, cooking, working out most of all anything that allows me to serve others. I am diva at heart who desires to help as many people as God allows... \u003ca href=\"/v3/profile?profile=A78DEAF0B81DDADD\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eMORE\u003c/a\u003e\r\n                                \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover0Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites0Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u0027A78DEAF0B81DDADD\u0027, 0, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites0Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u0027A78DEAF0B81DDADD\u0027, 0, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt0\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt0Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u0027A78DEAF0B81DDADD\u0027, 0, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=A78DEAF0B81DDADD\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage0Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u0027A78DEAF0B81DDADD\u0027,0,\u0027Views\u0027,\u0027naidiva\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(0, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete0Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 0, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u0027A78DEAF0B81DDADD\u0027, 0, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 0, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n                 \u003cdiv class=\"profilerepeat \" id=\"connectItem1Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"DDB0E69F40BF646A\" id=\"checkboxDelete1Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 1) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                            \u003cdiv id=\"profileoverlay\" style=\"\"\u003e\r\n                             \r\n                                \u003cp\u003e\u003ca href=\"/v3/profile?profile=DDB0E69F40BF646A\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e16 more photos\u003c/a\u003e\u003c/p\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=DDB0E69F40BF646A\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"d12nv\"\u003e\u003cimg src=\"http://pmi2.peoplemedia.com/21/022/3977022/5089455s.jpg\" title=\"d12nv\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=DDB0E69F40BF646A\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003ed12nv\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e35 | Dallas, GA\r\n                                    |\u0026nbsp;Last Activity: Yesterday                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                                \u003cp\u003e\u003cspan class=\"lightgraytext\"\u003eA little about me: \u003c/span\u003eOriginally from New Orleans(Who Dat!..lol),single mother of 2 beautiful children,I love to cook,watch sports(huge Saints/Lakers fan),travel,play spades/dominoes,and just enjoy life to the fullest.If y... \u003ca href=\"/v3/profile?profile=DDB0E69F40BF646A\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eMORE\u003c/a\u003e\r\n                                \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover1Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites1Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u0027DDB0E69F40BF646A\u0027, 1, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites1Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u0027DDB0E69F40BF646A\u0027, 1, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt1\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt1Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u0027DDB0E69F40BF646A\u0027, 1, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=DDB0E69F40BF646A\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage1Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u0027DDB0E69F40BF646A\u0027,1,\u0027Views\u0027,\u0027d12nv\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(1, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete1Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 1, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u0027DDB0E69F40BF646A\u0027, 1, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 1, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n                 \u003cdiv class=\"profilerepeat \" id=\"connectItem2Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"B5B082826B156D75\" id=\"checkboxDelete2Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 2) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                            \u003cdiv id=\"profileoverlay\" style=\"\"\u003e\r\n                             \r\n                                \u003cp\u003e\u003ca href=\"/v3/profile?profile=B5B082826B156D75\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e3 more photos\u003c/a\u003e\u003c/p\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=B5B082826B156D75\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"thickchick6996\"\u003e\u003cimg src=\"http://pmi7.peoplemedia.com/21/557/4810557/5099390s.jpg\" title=\"thickchick6996\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=B5B082826B156D75\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003ethickchick6996\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e38 | Lithonia, GA\r\n                                    |\u0026nbsp;Last Activity: Today                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover2Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites2Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u0027B5B082826B156D75\u0027, 2, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites2Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u0027B5B082826B156D75\u0027, 2, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt2\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt2Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u0027B5B082826B156D75\u0027, 2, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=B5B082826B156D75\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage2Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u0027B5B082826B156D75\u0027,2,\u0027Views\u0027,\u0027thickchick6996\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(2, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete2Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 2, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u0027B5B082826B156D75\u0027, 2, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 2, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n                 \u003cdiv class=\"profilerepeat \" id=\"connectItem3Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"24EFF5DC621A2432\" id=\"checkboxDelete3Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 3) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                            \u003cdiv id=\"profileoverlay\" style=\"\"\u003e\r\n                             \r\n                                \u003cp\u003e\u003ca href=\"/v3/profile?profile=24EFF5DC621A2432\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e5 more photos\u003c/a\u003e\u003c/p\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=24EFF5DC621A2432\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"beautiful921\"\u003e\u003cimg src=\"http://pmi6.peoplemedia.com/21/906/4782906/5044939s.jpg\" title=\"beautiful921\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=24EFF5DC621A2432\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003ebeautiful921\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e31 | Marietta, GA\r\n                                    |\u0026nbsp;Last Activity: This Week                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                                \u003cp\u003e\u003cspan class=\"lightgraytext\"\u003eA little about me: \u003c/span\u003eI\u0026#39;m single not looking for anything serious and that doesn\u0026#39;t mean I\u0026#39;m looking for sex either. Please don\u0026#39;t take that the wrong way but its a turn off when someone comes at me with sex talk. But I am o... \u003ca href=\"/v3/profile?profile=24EFF5DC621A2432\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eMORE\u003c/a\u003e\r\n                                \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover3Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites3Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u002724EFF5DC621A2432\u0027, 3, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites3Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u002724EFF5DC621A2432\u0027, 3, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt3\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt3Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u002724EFF5DC621A2432\u0027, 3, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=24EFF5DC621A2432\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage3Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u002724EFF5DC621A2432\u0027,3,\u0027Views\u0027,\u0027beautiful921\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(3, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete3Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 3, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u002724EFF5DC621A2432\u0027, 3, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 3, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n                 \u003cdiv class=\"profilerepeat profilehighlight\" id=\"connectItem4Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"0D23E5554132F925\" id=\"checkboxDelete4Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 4) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                            \u003cdiv id=\"profileoverlay\" style=\"\"\u003e\r\n                             \r\n                                \u003cp\u003e\u003ca href=\"/v3/profile?profile=0D23E5554132F925\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e5 more photos\u003c/a\u003e\u003c/p\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=0D23E5554132F925\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"DarkAngel79\"\u003e\u003cimg src=\"http://pmi3.peoplemedia.com/21/113/3574113/4922212s.jpg\" title=\"DarkAngel79\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=0D23E5554132F925\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eDarkAngel79\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e34 | Austell, GA\r\n                                    |\u0026nbsp;Last Activity: Today                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                                \u003cp\u003e\u003cspan class=\"lightgraytext\"\u003eA little about me: \u003c/span\u003eMy friends call me Liz. I am the coolest girl on earth.Looking for a friend to view life with. I and young and successful have been for a while. Sick of the bustas! So if your one, ignore me please. I... \u003ca href=\"/v3/profile?profile=0D23E5554132F925\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eMORE\u003c/a\u003e\r\n                                \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover4Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites4Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u00270D23E5554132F925\u0027, 4, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites4Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u00270D23E5554132F925\u0027, 4, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt4\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt4Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u00270D23E5554132F925\u0027, 4, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=0D23E5554132F925\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage4Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u00270D23E5554132F925\u0027,4,\u0027Views\u0027,\u0027DarkAngel79\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(4, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete4Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 4, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u00270D23E5554132F925\u0027, 4, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 4, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n                 \u003cdiv class=\"profilerepeat \" id=\"connectItem5Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"0164D52C6A0EE58B\" id=\"checkboxDelete5Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 5) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                            \u003cdiv id=\"profileoverlay\" style=\"\"\u003e\r\n                             \r\n                                \u003cp\u003e\u003ca href=\"/v3/profile?profile=0164D52C6A0EE58B\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e2 more photos\u003c/a\u003e\u003c/p\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=0164D52C6A0EE58B\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"bgsfynestone\"\u003e\u003cimg src=\"http://pmi0.peoplemedia.com/21/520/4461520/4357203s.jpg\" title=\"bgsfynestone\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=0164D52C6A0EE58B\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003ebgsfynestone\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e27 | Niceville, FL\r\n                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                                \u003cp\u003e\u003cspan class=\"lightgraytext\"\u003eA little about me: \u003c/span\u003eFun loving, down to earth kind of girl. I enjoy hiking, camping, boating, swimming, skiing...and so much more.                                \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover5Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites5Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u00270164D52C6A0EE58B\u0027, 5, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites5Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u00270164D52C6A0EE58B\u0027, 5, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt5\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt5Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u00270164D52C6A0EE58B\u0027, 5, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=0164D52C6A0EE58B\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage5Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u00270164D52C6A0EE58B\u0027,5,\u0027Views\u0027,\u0027bgsfynestone\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(5, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete5Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 5, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u00270164D52C6A0EE58B\u0027, 5, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 5, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n                 \u003cdiv class=\"profilerepeat \" id=\"connectItem6Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"5F642E4AB6FF8037\" id=\"checkboxDelete6Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 6) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                            \u003cdiv id=\"profileoverlay\" style=\"\"\u003e\r\n                             \r\n                                \u003cp\u003e\u003ca href=\"/v3/profile?profile=5F642E4AB6FF8037\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e1 more photo\u003c/a\u003e\u003c/p\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=5F642E4AB6FF8037\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"ChristyAver\"\u003e\u003cimg src=\"http://pmi1.peoplemedia.com/21/481/4610481/4677436s.jpg\" title=\"ChristyAver\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=5F642E4AB6FF8037\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eChristyAver\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e30 | Mary Esther, FL\r\n                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                                \u003cp\u003e\u003cspan class=\"lightgraytext\"\u003eA little about me: \u003c/span\u003eI am a massage therapist and I am about to go to school for nursing. I love to laugh and have fun. The most important thing to me in a relationship is honesty and spending time with each other. I am l... \u003ca href=\"/v3/profile?profile=5F642E4AB6FF8037\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eMORE\u003c/a\u003e\r\n                                \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover6Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites6Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u00275F642E4AB6FF8037\u0027, 6, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites6Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u00275F642E4AB6FF8037\u0027, 6, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt6\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt6Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u00275F642E4AB6FF8037\u0027, 6, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=5F642E4AB6FF8037\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage6Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u00275F642E4AB6FF8037\u0027,6,\u0027Views\u0027,\u0027ChristyAver\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(6, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete6Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 6, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u00275F642E4AB6FF8037\u0027, 6, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 6, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n                 \u003cdiv class=\"profilerepeat \" id=\"connectItem7Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"1014FA29A8351F31\" id=\"checkboxDelete7Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 7) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=1014FA29A8351F31\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"MadReeferChick\"\u003e\u003cimg src=\"http://pmi4.peoplemedia.com/21/014/4761014/4998546s.jpg\" title=\"MadReeferChick\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=1014FA29A8351F31\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eMadReeferChick\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e18 | Freeport, FL\r\n                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover7Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites7Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u00271014FA29A8351F31\u0027, 7, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites7Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u00271014FA29A8351F31\u0027, 7, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt7\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt7Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u00271014FA29A8351F31\u0027, 7, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=1014FA29A8351F31\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage7Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u00271014FA29A8351F31\u0027,7,\u0027Views\u0027,\u0027MadReeferChick\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(7, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete7Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 7, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u00271014FA29A8351F31\u0027, 7, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 7, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n                 \u003cdiv class=\"profilerepeat \" id=\"connectItem8Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"82D3D6967777D78B\" id=\"checkboxDelete8Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 8) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                            \u003cdiv id=\"profileoverlay\" style=\"\"\u003e\r\n                             \r\n                                \u003cp\u003e\u003ca href=\"/v3/profile?profile=82D3D6967777D78B\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e4 more photos\u003c/a\u003e\u003c/p\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=82D3D6967777D78B\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"kattaylor008\"\u003e\u003cimg src=\"http://pmi4.peoplemedia.com/21/734/3238734/4270454s.jpg\" title=\"kattaylor008\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=82D3D6967777D78B\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003ekattaylor008\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e23 | Crestview, FL\r\n                                    |\u0026nbsp;Last Activity: Today                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                                \u003cp\u003e\u003cspan class=\"lightgraytext\"\u003eA little about me: \u003c/span\u003eI\u0026#39;m a hair stylist, Love being creative! I like to hangout with friends and family, I like to have fun. I\u0026#39;m always up for trying new things. I\u0026#39;m a pretty laid back person, I like to just go with the f... \u003ca href=\"/v3/profile?profile=82D3D6967777D78B\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eMORE\u003c/a\u003e\r\n                                \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover8Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites8Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u002782D3D6967777D78B\u0027, 8, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites8Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u002782D3D6967777D78B\u0027, 8, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt8\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt8Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u002782D3D6967777D78B\u0027, 8, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=82D3D6967777D78B\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage8Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u002782D3D6967777D78B\u0027,8,\u0027Views\u0027,\u0027kattaylor008\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(8, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete8Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 8, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u002782D3D6967777D78B\u0027, 8, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 8, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n                 \u003cdiv class=\"profilerepeat \" id=\"connectItem9Views\"\u003e\r\n                         \u003cdiv class=\"profilerepeatcol0\"\u003e\r\n                             \u003cinput name=\"41B193012222A971\" id=\"checkboxDelete9Views\" class=\"deleteCheckboxViews\" type=\"checkbox\" value=\"\" onchange=\"PeopleMedia.Connect.selectSingleDeleteCheckBox(\u0027Views\u0027, 9) \"\u003e\r\n                         \u003c/div\u003e\r\n                     \u003cdiv class=\"profilerepeatcol1 \"\u003e\r\n                         \r\n                          \u003cdiv id=\"profileoverlayplace\"\u003e\r\n                            \u003cdiv id=\"profileoverlay\" style=\"\"\u003e\r\n                             \r\n                                \u003cp\u003e\u003ca href=\"/v3/profile?profile=41B193012222A971\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e2 more photos\u003c/a\u003e\u003c/p\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                             \u003ca href=\"/v3/profile?profile=41B193012222A971\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\" title=\"Sweet112\"\u003e\u003cimg src=\"http://pmi1.peoplemedia.com/21/241/4458241/4350400s.jpg\" title=\"Sweet112\" border=\"0\" class=\"userpic\" /\u003e\u003c/a\u003e\r\n                     \u003c/div\u003e\r\n                    \u003cdiv class=\"profilerepeatcol2\"\u003e\r\n                        \u003cdiv class=\"profilerepeatcol2row1\"\u003e\r\n                            \u003cp\u003e\u003ca href=\"/v3/profile?profile=41B193012222A971\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003eSweet112\u003c/a\u003e\u003c/p\u003e\r\n                                \u003cimg title=\"Viewed\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/eyeicon.png\"  /\u003e\r\n                                \u003cp class=\"lightgraytext timestampcl\"\u003eViewed: 3/21/2014\u003c/p\u003e\r\n                        \u003c/div\u003e\r\n                        \r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row2\"\u003e\r\n\r\n                            \u003cp\u003e34 | Atlanta, GA\r\n                                    |\u0026nbsp;Last Activity: This Week                            \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row3\"\u003e\r\n                                \u003cp\u003e\u003cspan class=\"lightgraytext\"\u003eA little about me: \u003c/span\u003eIg?...                                 \u003c/p\u003e\r\n                        \u003c/div\u003e\r\n\r\n                        \u003cdiv class=\"profilerepeatcol2row4\"\u003e\r\n                               \u003cdiv class=\"flirthoverplace\" style=\"display:none\" id = \"flirthover9Views\"\u003e\r\n                                    \u003cdiv class=\"flirthover bgcolor-icon\"\u003e\r\n                                        \u003cp\u003eFlirt Sent!\u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                              \u003c/div\u003e\r\n\r\n                                   \r\n                            \u003ca  href=\"javascript:void(0);\" class=\"SaveToFavorites9Views\" title=\"Save as Favorite\" onclick=\"PeopleMedia.Connect.toggleFavorite(true, \u002741B193012222A971\u0027, 9, \u0027Views\u0027,\u0027connectviews\u0027)\" style=\"\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Save as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoriteicon.png\"\u003e \r\n                            \u003c/a\u003e\r\n                            \u003ca href=\"javascript:void(0);\" class=\"RemoveFromFavorites9Views\" onclick=\"PeopleMedia.Connect.toggleFavorite(false, \u002741B193012222A971\u0027, 9, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Saved as Favorite\" style=\"display:none;\"\u003e\r\n                                \u003cimg border=\"0\" title=\"Saved as Favorite\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/favoritedicon.png\"\u003e   \r\n                            \u003c/a\u003e\r\n                            \u003cspan id=\"spanFlirt9\"\u003e\r\n                                \u003ca href=\"javascript:void(0)\" id=\"SendFlirt9Views\" onclick=\"PeopleMedia.Connect.sendFlirt(\u002741B193012222A971\u0027, 9, \u0027Views\u0027,\u0027connectviews\u0027)\"\u003e \u003cimg border=\"0\" title=\"Send a Flirt\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/winkicon.png\"\u003e \r\n                                \u003c/a\u003e\r\n                            \u003c/span\u003e \r\n                            \u003ca href=\"/v3/messages/message?profile=41B193012222A971\u0026amp;UPN=111\u0026amp;actionType=None\u0026amp;from=connectViews\u0026amp;back=connectViews\u0026amp;backparam=0\u0026amp;start=1\"\u003e \u003cimg border=\"0\" title=\"Send a Message\" src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/icons/messageicon.png\"\u003e \u003c/a\u003e \r\n                        \u003c/div\u003e\r\n\r\n                    \u003c/div\u003e\r\n\r\n                    \u003cdiv class=\"profilerepeatcol3\"\u003e\r\n                        \u003ctextarea maxLength=\"3000\" id=\"connectInlineMessage9Views\" class=\"connectWriteMessageTextArea\" cols=\"\" rows=\"\"\u003eWrite a quick message...\u003c/textarea\u003e\r\n\r\n                        \u003ca href=\"javascript:void(0);\" id=\"SendMessageButtonLink\" onclick=\"PeopleMedia.Connect.sendMessage(\u002741B193012222A971\u0027,9,\u0027Views\u0027,\u0027Sweet112\u0027,2,0,1,\u0027connectviews\u0027,25,\u0027None\u0027);\" class=\"button_style_send\" title=\"Send\"\u003eSend\u003c/a\u003e \u003c/div\u003e\r\n                        \u003cdiv class=\"profilerepeatcol4\"\u003e \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.removeItem(9, \u0027Views\u0027,\u0027connectviews\u0027)\" title=\"Delete View\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/connect/hidebutton.png\" border=\"0\" class=\"hide1\" /\u003e\u003c/a\u003e \u003c/div\u003e\r\n                    \u003cp class=\"clearfix\"\u003e\u0026nbsp;\u003c/p\u003e\r\n                       \u003cdiv class=\"popupshowblock\" id=\"popupshowdelete9Views\" style=\"display:none;\"\u003e\r\n                        \u003cdiv class=\"overlayplace\"\u003e\r\n                            \u003cdiv class=\"popupshapestyle deleteactionoverlay\"\u003e\r\n                                \u003cdiv class=\"largestclosebtn\"\u003e \u003ca id=\"PopupBlockCloseButton\" href=\"javascript:void(0);\" title=\"Close\" onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 9, \u0027Views\u0027)\" class=\"closebtn\"\u003e\u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/imageupload/largestclosebtn.png\" border=\"0\"\u003e\u003c/a\u003e \u003c/div\u003e\r\n                                \u003cdiv class=\"blockcontent\"\u003e\r\n                                    \u003ch1\u003eAre you sure you want to delete \u003cspan id=\"PopupBlockUsernameSpan\"\u003ethis View\u003c/span\u003e?\u003c/h1\u003e\r\n                                    \u003cdiv class=\"sharecontentbuttonarea\"\u003e\r\n                                        \u003cp class=\"blocklinksbtn\"\u003e\r\n                                            \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.deleteConnectItem(\u002741B193012222A971\u0027, 9, \u0027Views\u0027, 2, 0, 1)\"\u003eDelete\u003c/a\u003e\r\n                                            \u003ca href=\"javascript:void(0);\"  onclick=\"PeopleMedia.Connect.hideRemoveItemPopup( 9, \u0027Views\u0027)\" class=\"button_style\"\u003eNo\u003c/a\u003e\r\n                                        \u003c/p\u003e\r\n                                    \u003c/div\u003e\r\n                                \u003c/div\u003e\r\n                            \u003c/div\u003e\r\n                        \u003c/div\u003e\r\n                        \u003cdiv class=\"overlaywholescreen\"\u003e\u003c/div\u003e\r\n                    \u003c/div\u003e\r\n                   \r\n                    \u003c/div\u003e\r\n\u003c/div\u003e\r\n                \r\n\u003cdiv class=\"resultsloadingoverlay\" id=\"LoadingResultsDiv\" style=\"display:none\"\u003e\r\n    \u003cdiv class=\"resultsloading bgcolor-main\"\u003e\r\n        \u003ch1\u003e\r\n            Sending your message...\u003c/h1\u003e\r\n        \u003cdiv class=\"loadinggraphic\"\u003e\r\n            \u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/upgrade/waitwheel.gif\" alt=\"\" /\u003e\r\n        \u003c/div\u003e\r\n        \u003cp class=\"clearfix\"\u003e\r\n            \u0026nbsp;\u003c/p\u003e\r\n    \u003c/div\u003e\r\n\u003c/div\u003e\r\n\r\n        \u003c/div\u003e\r\n\r\n        \u003cdiv class=\"bottomrow\"\u003e\r\n\r\n          \u003cdiv id=\"paginationsearch\" class=\"color-main\"\u003e\r\n              \u003cdiv id=\"paginationViewsBottom\"\u003e\r\n                      \u003cdiv id=\"paginationsearchleft\"\u003e\r\n            \u003ca href=\"javascript:void(0);\" class=\"button_style buttonunavailable\" title=\"Previous\"\u003e\r\n                Previous\u003c/a\u003e\r\n    \u003c/div\u003e\r\n    \u003cdiv id=\"paginationsearchcenter\"\u003e\r\n            \u003ca href=\"javascript:void(0);\" \u003e\r\n                \u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/external/leftarrow.png\"  class=\"arrowunavailable\" border=\"0\" alt=\"\" /\u003e\u003c/a\u003e\r\n    \u003cspan class=\"paginationon\"\u003e1\u003c/span\u003e\r\n    \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.paginate(2, 10, 122);\"\u003e2\u003c/a\u003e\r\n    ...\r\n    \u003ca href=\"javascript:void(0);\" onclick=\"PeopleMedia.Connect.paginate(13, 10, 122);\"\u003e13\u003c/a\u003e\r\n            \u003ca href=\"javascript:void(0);\"  onclick=\" PeopleMedia.Connect.paginate(2, 10, 122);\"\u003e\r\n                \u003cimg src=\"http://pmi.peoplemedia.com/vc/1590203/21/images/external/rightarrow.png\" border=\"0\" alt=\"\" /\u003e\u003c/a\u003e\r\n    \u003c/div\u003e\r\n    \u003cdiv id=\"paginationsearchright\"\u003e\r\n            \u003ca href=\"javascript:void(0);\" onclick=\" PeopleMedia.Connect.paginate(2, 10, 122);\" class=\"button_style\" title=\"Next\"\u003e\r\n                Next\u003c/a\u003e\r\n    \u003c/div\u003e\r\n\r\n\r\n\r\n\r\n\r\n              \u003c/div\u003e\r\n            \u003c/div\u003e\r\n\r\n        \u003c/div\u003e\r\n\r\n      \u003c/div\u003e"}';
    //array(3) { ["status"]=> string(7) "Success" ["html"]=> string(67594) " " ["totalRecords"]=> int(106) }  
    $result = CJSON::decode($strJson);
    var_dump($result);

  }
  
  public function actionGetFavorites(){
    $result['status'] = 'Success';
    $currentPage = isset($_GET['currentPage'])?$_GET['currentPage']:1;
    $totalUserView = mUserFavorite::model()->findAll('user_id=:user_id', 
                                      array(':user_id'=>user()->getUserProperty('user_id')));
    $rsUserView = mUserFavorite::model()->getUserFavoriteWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
    $data['filter'] = 0;
    if(count($totalUserView)<=0){
      $data['noRecord'] = $this->getMessageWithRecordNullInGetSentFavorites();
    }
    $data['pagination'] = $this->pagesListLimit(count($totalUserView),10,2,1);

    $result['html'] = $this->renderPartial('GetSentFavorites_Part',array(
                            'currentPage'=>$currentPage,
                            'totalUserView'=>$totalUserView,
                            'rsUserView'=>$rsUserView,
                            'data'=>$data
                  ),true);
    
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionGetYesVotes(){
    $result['status'] = 'Success';
    $currentPage = isset($_GET['currentPage'])?$_GET['currentPage']:1;
    
    
    $totalUserView = mUserVote::model()->findAll('user_id=:user_id', 
                                      array(':user_id'=>user()->getUserProperty('user_id')));
    $rsUserView = mUserVote::model()->getUserVoteWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
    $data['filter'] = 0;
    if(count($totalUserView)<=0){
      $data['noRecord'] = $this->getMessageWithRecordNullInGetSentYeses();
    }

    $data['pagination'] = $this->pagesListLimit(count($totalUserView),10,2,1);

    $result['html'] = $this->renderPartial('GetSentYesVotes_Part',array(
                            'currentPage'=>$currentPage,
                            'totalUserView'=>$totalUserView,
                            'rsUserView'=>$rsUserView,
                            'data'=>$data
                  ),true);
    
    echo CJSON::encode($result);
    YII::app()->end();    
  }
  
  public function actionGetViews(){
    $result['status'] = 'Success';
    $currentPage = isset($_GET['currentPage'])?$_GET['currentPage']:1;
    $totalUserView = mUserView::model()->findAll('user_id=:user_id', 
                                      array(':user_id'=>user()->getUserProperty('user_id')));
    $rsUserView = mUserView::model()->getUserViewWithPagination(user()->getUserProperty('user_id'),($currentPage-1)*10,10);
    $data['filter'] = 0;
    if(count($totalUserView)<=0){
      $data['noRecord'] = $this->getMessageWithRecordNullInGetSentView();
    }
    $data['pagination'] = $this->pagesListLimit(count($totalUserView),10,2,1);

    $result['html'] = $this->renderPartial('GetSentViews_Part',array(
                            'currentPage'=>$currentPage,
                            'totalUserView'=>$totalUserView,
                            'rsUserView'=>$rsUserView,
                            'data'=>$data
                  ),true);
    
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionDeleteConnectItem(){
    $result['status'] = 'Success';
    if(isset($_POST['encryptedMemberId']) && isset($_POST['filter']) && isset($_POST['tab'])){
      if($_POST['tab'] == 0 && $_POST['filter'] == 0){
        mUserVote::model()->deleteAll('user_id=:user_id and user_voted=:user_voted', 
                                              array(':user_id'=>user()->getUserProperty('user_id'),
                                                    ':user_voted'=>$_POST['encryptedMemberId']));
      }else if($_POST['tab'] == 0 && $_POST['filter'] == 1){
        mUserVote::model()->deleteAll('user_id=:user_id and user_voted=:user_voted', 
                                              array(':user_id'=>$_POST['encryptedMemberId'],
                                                    ':user_voted'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 0 && $_POST['filter'] == 2){
        mUserVote::model()->deleteAll('user_id=:user_id and user_voted=:user_voted', 
                                              array(':user_id'=>$_POST['encryptedMemberId'],
                                                    ':user_voted'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 1 && $_POST['filter'] == 0){
        mUserFavorite::model()->deleteAll('user_id=:user_id and user_favorited=:user_favorited', 
                                              array(':user_id'=>user()->getUserProperty('user_id'),
                                                    ':user_favorited'=>$_POST['encryptedMemberId']));
      }else if($_POST['tab'] == 1 && $_POST['filter'] == 1){
        mUserFavorite::model()->deleteAll('user_id=:user_id and user_favorited=:user_favorited', 
                                              array(':user_id'=>$_POST['encryptedMemberId'],
                                                    ':user_favorited'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 1 && $_POST['filter'] == 2){
        mUserFavorite::model()->deleteAll('user_id=:user_id and user_favorited=:user_favorited', 
                                              array(':user_id'=>$_POST['encryptedMemberId'],
                                                    ':user_favorited'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 2 && $_POST['filter'] == 0){
        mUserView::model()->deleteAll('user_id=:user_id and user_id_viewed=:user_id_viewed', 
                                              array(':user_id'=>user()->getUserProperty('user_id'),
                                                    ':user_id_viewed'=>$_POST['encryptedMemberId']));
      }else if($_POST['tab'] == 2 && $_POST['filter'] == 1){
        mUserView::model()->deleteAll('user_id=:user_id and user_id_viewed=:user_id_viewed', 
                                              array(':user_id'=>$_POST['encryptedMemberId'],
                                                    ':user_id_viewed'=>user()->getUserProperty('user_id')));
      }
      
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
  
  public function actionDeleteMultipleConnectItems(){
    $result['status'] = 'Success';
    
    if(isset($_POST['encryptedMemberIds']) && isset($_POST['filter']) && isset($_POST['tab'])){
      if($_POST['tab'] == 0 && $_POST['filter'] == 0){
        $encryptedMemberIds = json_decode($_POST['encryptedMemberIds'], true);
        $encryptedMemberIds = implode(',', $encryptedMemberIds);
        mUserVote::model()->deleteAll('user_id=:user_id and user_voted in ('. $encryptedMemberIds.')', 
                                              array(':user_id'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 0 && $_POST['filter'] == 1){
        $encryptedMemberIds = json_decode($_POST['encryptedMemberIds'], true);
        $encryptedMemberIds = implode(',', $encryptedMemberIds);
        mUserVote::model()->deleteAll('user_id in ('.$encryptedMemberIds.') and user_voted=:user_voted', 
                                              array(':user_voted'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 0 && $_POST['filter'] == 2){
        $encryptedMemberIds = json_decode($_POST['encryptedMemberIds'], true);
        $encryptedMemberIds = implode(',', $encryptedMemberIds);
        mUserVote::model()->deleteAll('user_id in ('.$encryptedMemberIds.') and user_voted=:user_voted', 
                                              array(':user_voted'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 1 && $_POST['filter'] == 0){
        $encryptedMemberIds = json_decode($_POST['encryptedMemberIds'], true);
        $encryptedMemberIds = implode(',', $encryptedMemberIds);
        mUserFavorite::model()->deleteAll('user_id=:user_id and user_favorited in ('. $encryptedMemberIds.')', 
                                              array(':user_id'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 1 && $_POST['filter'] == 1){
        $encryptedMemberIds = json_decode($_POST['encryptedMemberIds'], true);
        $encryptedMemberIds = implode(',', $encryptedMemberIds);
        mUserFavorite::model()->deleteAll('user_id in ('.$encryptedMemberIds.') and user_favorited=:user_favorited', 
                                              array(':user_favorited'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 1 && $_POST['filter'] == 2){
        $encryptedMemberIds = json_decode($_POST['encryptedMemberIds'], true);
        $encryptedMemberIds = implode(',', $encryptedMemberIds);
        mUserFavorite::model()->deleteAll('user_id in ('.$encryptedMemberIds.') and user_favorited=:user_favorited', 
                                              array(':user_favorited'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 2 && $_POST['filter'] == 0){
        $encryptedMemberIds = json_decode($_POST['encryptedMemberIds'], true);
        $encryptedMemberIds = implode(',', $encryptedMemberIds);
        mUserView::model()->deleteAll('user_id=:user_id and user_id_viewed in ('. $encryptedMemberIds.')', 
                                              array(':user_id'=>user()->getUserProperty('user_id')));
      }else if($_POST['tab'] == 2 && $_POST['filter'] == 1){
        $encryptedMemberIds = json_decode($_POST['encryptedMemberIds'], true);
        $encryptedMemberIds = implode(',', $encryptedMemberIds);
        mUserView::model()->deleteAll('user_id in ('.$encryptedMemberIds.') and user_id_viewed=:user_id_viewed', 
                                              array(':user_id_viewed'=>user()->getUserProperty('user_id')));
      }
    }
    echo CJSON::encode($result);
    YII::app()->end();
  }
}